<!--show detail page create by pionner at Tue Nov 25 15:11:25 CST 2008-->
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@taglib uri="ttp://www.security.com/tag" prefix="sc"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
	<base href="<%=basePath%>">
		<title>Userlist</title>
		<link rel='stylesheet' href='css/style.css'>
		<link rel='stylesheet' type='text/css' href='css/table.css'>
		<script src='js/alai_tree/Alai_tc.js'></script>
		<script src='js/Paginated.js'></script>
		<script src='js/comm.js'></script>

	</head>
	<body>
		<table width='200' border='0' cellspacing='0' cellpadding='0'>
			<tr>
				<td width='90'><img src='images/loc-head.jpg' width='90' height='24'></td>
				<td valign='middle' nowrap background='images/loc-bg.jpg' class="title">用户列表</td>
				<td width='12'><img src='images/loc-tail.jpg' width='12' height='24'></td>
			</tr>
		</table><br>
		<table class="btntable" cellspacing='0' cellpadding='0'>
			<tr>
				<td background='images/tb-bg.jpg' width='14' height='22'><img src='images/tb-head.jpg' width='14' height='28'></td>
					
					<td background='images/tb-bg.jpg' width='100%' align='right'><img src='images/tb-tail.jpg' width='14' height='28'></td>
				</tr>
				<tr><td colspan='100'>
					<s:form action='userlistDelete.action' name='listform'>
						<table  width='100%' border='0' cellpadding='0' cellspacing='1' bgcolor='#336699'>
							<thead>
								<tr bgcolor='#88aaee'>
									<th>选择</th>
									<th sque='0'>用户名</th>
									
									<th sque='1'>手机号</th>
									<th sque='3'>地址</th>
									<!--th sque='2'>smsStr</th-->
									
								</tr>
								</thead>
							<tbody id='table4'>
								<s:iterator value='objects'>
									<tr style=" width:100%; background-color:white" onMouseover="this.style.backgroundColor='#FFFFCC';" onMouseout="this.style.backgroundColor='white';">
										<td><input type='checkbox' name=ids value='<s:property value='id' />' /></td>
										<td onclick="rowdetail('<s:property value='id' />')"><s:property value='cname'/></td>
										<!--  td><s:property value='userPwd'/></td-->
										<td onclick="rowdetail('<s:property value='id' />')"><s:property value='telphone'/></td>
										<!--  td><s:property value='smsStr'/></td-->
										<td onclick="rowdetail('<s:property value='id' />')"><s:property value='address'/></td>
										
										<sc:component processcode="user_edit">
										
										</sc:component>
									</tr>
								</s:iterator>
							</tbody>
						</table>
					<table width='100%' border='0' cellpadding='0' cellspacing='1' bgcolor='99ccff'>
							<tr>
								<td id='splidpagebnt2' align='right'></td>
							</tr>
						</table>
					</s:form>
				</td>
			</tr>
		</table>
	</body>
</html>

<script type='text/javascript'>

<!--
try{
	var table4ctrbtn2 =new PaginatedCtrl('table4','table4ctrbtn2');
	table4ctrbtn2.builder('splidpagebnt2');
	table4ctrbtn2.setShowCount(10);
	table4ctrbtn2.toPage(1);
}catch(e){
	alert(e.message);
}
var cid=null;
function setCurId(id){
	cid=id
}
function delsubmit(){
	document.all.listform.submit();
}
function rowdetail(id){
	window.location.href="userbacterinList.action?userId="+id;
}
function rowEdit(id){
	window.location.href="userlistEdit.action?id="+cid;
}
//-->
</script>



